package com.zx.Service;

import com.zx.Moudel.Infant;
import com.zx.Moudel.Queue;

import java.sql.SQLException;
import java.util.List;

/**
 * com.zx.Service
 * 26832
 * zx
 * &#064;description:
 * &#064;author: lxm
 * UserService
 * &#064;create: 2024-06-21 16:56
 **/
public interface UserService {
    int login(String username, String password) throws SQLException;
    boolean selectChild(String belong,String idcard) throws SQLException;
    boolean CalculationTime(String borth,String vaccine) throws SQLException;
    boolean InsertChild(Infant infant) throws SQLException;
    boolean ExistChild(Infant infant) throws SQLException;
    boolean InsertQueue(String idcard,String vaccine,String date) throws SQLException;
    boolean ExistQueue(Infant infant) throws SQLException;
    List<Queue> selectAllQueue(String idcard,String vaccine);
}
